import java.util.Scanner;

public class jh {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        // 输入条件
        System.out.print("请输入候选人的身高（cm）：");
        int height = scanner.nextInt();
        System.out.print("请输入候选人的财富（万元）：");
        double wealth = scanner.nextDouble();
        System.out.print("候选人是否帅（是/否）：");
        boolean handsome = scanner.nextBoolean();

        // 判断条件
        if (height >= 180 && wealth >= 10000 && handsome) {
            System.out.println("一定要嫁给他!!!");
        } else if (height >= 180 || wealth >= 10000 || handsome) {
            System.out.println("嫁吧，比上不足，比下有余。");
        } else {
            System.out.println("不嫁！");
        }
    }
}

